<?php
class Zend_View_Helper_Activities {
	protected $_view;
	function setView($view) { 
		$this->_view = $view; 
	} 
	function activities($user_id) {
		
	   $user = User::findById($user_id);
	   $this->_view->user = $user;
	   
	   $out = $this->_view->render('/user/Activities.phtml');
	   
       return $out;
	}
}
?>